package com.wyp168.leetcode;

import java.lang.reflect.Field;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;

/**
 * @ClassName Tes
 * @Description TODO
 * @Author wyp168
 * @Date 2022/6/28 16:03
 */
public class Test {
    public static void main(String[] args) throws NoSuchFieldException, IllegalAccessException {

//        OrderedStream orderedStream = new OrderedStream(5);
//        List<String> returnVal = new ArrayList<>();
//        returnVal = orderedStream.insert(3, "ccccc");
//        System.out.println(returnVal);
//        returnVal = orderedStream.insert(1,"aaaaa");
//        System.out.println(returnVal);
//        returnVal = orderedStream.insert(2,"bbbbb");
//        System.out.println(returnVal);
//        returnVal = orderedStream.insert(5,"eeeee");
//        System.out.println(returnVal);
//        returnVal = orderedStream.insert(4,"ddddd");
//        System.out.println(returnVal);

        String s = new String("abc");

        System.out.println(s.contains("bc"));
    }
}
